/*
* ECARX Technology Limited is the owner of the copyright and the trade secret of this software.
* Without permission, no one has the right to obtain, disclose or use this software in any way.
*/

package ecarx.xsf.notificationcenter.task;

public interface IProgress<Result> {

    void onBeforeCall();

    void onAfterCall();

    void onCancelled();

    void onException(Throwable t);

    void onComplete(Result t);

    void onProgress(long total, long current, Object... progress);
}
